package com.pactera.asmp.server.common.constants;

public enum DeviceStatus {
    //设备状态
    //0-空闲
    //1-占用
    //2-断线

    FREE   (0,"空闲"),
    BUSY   (1,"忙碌"),
    OFFLINE(2,"断线"),
    ;
    private int value;

    private String desc;

    DeviceStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
